package com.softeem.pojo;

import lombok.Data;

import java.util.Date;

@Data
public class Blog {
    private Integer id; //编号
    private String title; //标题
    private String description; //描述
    private String img; //图片
    private String content; //详细内容
    private Date created; //发布时间
    private Byte status; //状态
    private Integer user_id; //所属用户

    // 多个博客对应一个用户
    private Admin admin;
}
